package com.heima.reggie.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.heima.reggie.bean.Category;
import com.heima.reggie.bean.PageParam;

import java.util.List;

public interface CategoryService {
    IPage<Category> selectByPage(PageParam pageParam);

    int deleteById(Category category);

    int add(Category category);

    int update(Category category);

    List<Category> selectDishList(int tid);

    Category selectById(Long id);

    List<Category> select();
}
